package com.weiyuwqj.api.service;

import com.weiyuwqj.api.common.PageList;
import com.weiyuwqj.api.common.Paginator;
import com.weiyuwqj.api.model.vo.BusItemInvestVo;

import java.util.List;
import java.util.Map;

/**
 * Created by yxw on 2015/12/28.
 */

public interface BusInvestRecordService {
    PageList getList(Paginator p, Map<String, Object> param);

    List<BusItemInvestVo> getList(Map<String, Object> param);

    List getInvestByItemId(Integer itemId, Paginator p);

     Map countInvestByUserId(Integer userId) ;

    PageList getListByUserId(Paginator p, Integer userId);
}
